package io.modifier.basic.emo.core

import kotlinx.coroutines.CoroutineExceptionHandler

fun coroutineLogExceptionHandler(tag: String): CoroutineExceptionHandler {
    return CoroutineExceptionHandler { _, throwable ->
        EmoLog.e(tag, "scope error.", throwable)
    }
}
